package net.youball.entity;

/**
 * BallLoginInfo entity. @author MyEclipse Persistence Tools
 */

public class BallLoginInfo extends  BaseEntity implements
		java.io.Serializable {

	// Fields

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	private Integer loginId;
	private String loginSystem;
	private Integer userId;
	private String loginIp;
	private String loginLocation;
	private long loginTime;

	// Constructors

	/** default constructor */
	public BallLoginInfo() {
	}

	/** full constructor */
	public BallLoginInfo(String loginSystem, Integer userId, String loginIp,
			String loginLocation, long loginTime) {
		this.loginSystem = loginSystem;
		this.userId = userId;
		this.loginIp = loginIp;
		this.loginLocation = loginLocation;
		this.loginTime = loginTime;
	}

	// Property accessors

	public Integer getLoginId() {
		return this.loginId;
	}

	public void setLoginId(Integer loginId) {
		this.loginId = loginId;
	}

	public String getLoginSystem() {
		return this.loginSystem;
	}

	public void setLoginSystem(String loginSystem) {
		this.loginSystem = loginSystem;
	}

	public Integer getUserId() {
		return this.userId;
	}

	public void setUserId(Integer userId) {
		this.userId = userId;
	}

	public String getLoginIp() {
		return this.loginIp;
	}

	public void setLoginIp(String loginIp) {
		this.loginIp = loginIp;
	}

	public String getLoginLocation() {
		return this.loginLocation;
	}

	public void setLoginLocation(String loginLocation) {
		this.loginLocation = loginLocation;
	}

	public long getLoginTime() {
		return this.loginTime;
	}

	public void setLoginTime(long loginTime) {
		this.loginTime = loginTime;
	}

	@Override
	public String toString() {
		return "BallLoginInfo [loginId=" + loginId + ", loginIp=" + loginIp
				+ ", loginLocation=" + loginLocation + ", loginSystem="
				+ loginSystem + ", loginTime=" + loginTime + ", userId="
				+ userId + "]";
	}

}